<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h3>显示所有学生信息</h3>
<table border="1">
    <thead>
    <tr>
        <th>学号</th>
        <th>姓名</th>
        <th>Java 成绩</th>
        <th>操作</th>
    </tr>
    </thead>
    <tbody>
    <tr th:each="stu : ${stus}">
        <td th:text="${stu.id}"></td>
        <td th:text="${stu.name}"></td>
        <td th:text="${stu.java}"></td>
        <td><a th:href="@{/DelStu/{id}(id=${stu.id})}">删除</a></td>
    </tr>
    </tbody>
</table>
<a href="/Stu_input">添加学生</a>

</body>
</html>